﻿@model Webs.Models.BillDetailModel
@if (ViewBag.ErrMsg != null)
{
    <div id="dErrMsg" class="ui-state-error ui-corner-all" style="margin-top: 5px; padding: 5px;
        font-size: .9em;">
        <p style="vertical-align: top; margin: 0; padding: 0;">
            <span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
            <strong>@ViewBag.ErrMsg</strong>
        </p>
        <div style="margin-left: 23px;">@Html.ValidationSummary(false, "Please correct the errors and try again:")</div>
    </div>
}
@if (ViewBag.SuccMsg != null)
{
    <div id="dSuccMsg" class="ui-state-highlight ui-corner-all" style="margin-top: 5px;
        padding: 5px; font-size: .9em;">
        <p style="vertical-align: top; margin: 0; padding: 0;">
            <span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
            <strong>@ViewBag.SuccMsg</strong>
        </p>
    </div>
}
@Html.HiddenFor(m => m.BillNo)
@Html.HiddenFor(m => m.BillDetailNo)
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="320px" valign="top">
            <div class="editor-label">
                @BillRes.BillString.PARTICULAR_U
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(m => m.Container, new { Class = "editor-field-col", style = "width:300px; height:300px" })
            </div>
        </td>
        <td width="320px" valign="top">
            <div class="editor-label">
                @BillRes.BillString.DESCRIPTION
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(m => m.Description, new { Class = "editor-field-col", style = "width:300px; height:300px" })
            </div>
        </td>
        <td valign="top">
            <div class="editor-label">
                @BillRes.BillString.GROSSW
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(m => m.GrossWeight, new { Class = "editor-field-col", style = "width:280px; height:300px" })
            </div>
        </td>
    </tr>
    
</table>
